package tuioZones;

import processing.core.PImage;

public class Card{
	private PImage bgImage;
	private Puzzle puzzle;
	private String identifier;
    private Category category;
	
	public Card(String identifier) {
		this.identifier = identifier;
	}

	/**
	 * @return the bgImage
	 */
	public PImage getBgImage() {
		return bgImage;
	}

	/**
	 * @param bgImage the bgImage to set
	 */
	public void setBgImage(PImage bgImage,int width, int height) {
		this.bgImage = bgImage;
		this.bgImage.resize(width, height);
	}


	/**
	 * @return the identifier
	 */
	public String getIdentifier() {
		return identifier;
	}

	/**
	 * @param identifier the identifier to set
	 */
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	/**
	 * @return the puzzle
	 */
	public Puzzle getPuzzle() {
		return puzzle;
	}

	/**
	 * @param puzzle the puzzle to set
	 */
	public void setPuzzle(Puzzle puzzle) {
		this.puzzle = puzzle;
	}

    /**
     *
     * @return category of the card
     */
    public Category getCategory() {
        return category;
    }

    /**
     *
     * @param cards category
     */
    public void setCategory(Category category) {
        this.category = category;
    }
	
	
}
